<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2021/11/25
 * Time: 10:13
 */
echo "Hello";
echo '<br>';

//print_r($_SERVER);
echo '请求路径 :'.$_SERVER['REQUEST_URI'];
echo '<br>';
echo '请求方式 :'.$_SERVER['REQUEST_METHOD'];
echo '<br>';
echo '请求ID  ：'.$_SERVER['SERVER_ADDR'];
echo '<br>';
print_r($_GET);
//[PATH] => C:\app\Administrator\product\11.2.0\dbhome_1\bin;C:\Program Files (x86)\NetSarang\Xftp 7\;C:\Program Files (x86)\NetSarang\Xshell 7\;C:\Program Files\AdoptOpenJDK\jdk-8.0.222.10-hotspot\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\Program Files\dotnet\;C:\Program Files\Microsoft SQL Server\130\Tools\Binn\;C:\Program Files\Git\cmd;C:\Program Files\nodejs\;C:\Program Files\Microsoft SQL Server\Client SDK\ODBC\170\Tools\Binn\;C:\Program Files\Microsoft SQL Server\Client SDK\ODBC\110\Tools\Binn\;C:\Program Files (x86)\Microsoft SQL Server\120\Tools\Binn\;C:\Program Files\Microsoft SQL Server\120\Tools\Binn\;C:\Program Files\Microsoft SQL Server\120\DTS\Binn\;C:\Program Files (x86)\Microsoft SQL Server\120\Tools\Binn\ManagementStudio\;C:\Program Files (x86)\Microsoft SQL Server\120\DTS\Binn\;D:\php-7.4.8\;C:\Program Files\MySQL\MySQL Shell 8.0\bin\;C:\Users\Administrator\AppData\Local\Microsoft\WindowsApps;C:\Users\Administrator\AppData\Local\Programs\Microsoft VS Code\bin;C:\Users\Administrator\AppData\Roaming\npm;C:\Users\Administrator\.dotnet\tools
//[SYSTEMROOT] => C:\Windows
//[COMSPEC] => C:\Windows\system32\cmd.exe
//[PATHEXT] => .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
//[WINDIR] => C:\Windows
//[PHPRC] => D:/phpstudy_pro/Extensions/php/php7.3.4nts
//[_FCGI_SHUTDOWN_EVENT_] => 8960
//    [SCRIPT_NAME] => /index.php
//[REQUEST_URI] => /
//    [QUERY_STRING] =>
//    [REQUEST_METHOD] => GET
//[SERVER_PROTOCOL] => HTTP/1.1
//    [GATEWAY_INTERFACE] => CGI/1.1
//    [REMOTE_PORT] => 7609
//    [SCRIPT_FILENAME] => D:/phpstudy_pro/WWW/www.xiaocao1125.com/index.php
//[SERVER_ADMIN] => admin@example.com
//[CONTEXT_DOCUMENT_ROOT] => D:/phpstudy_pro/WWW/www.xiaocao1125.com
//[CONTEXT_PREFIX] =>
//    [REQUEST_SCHEME] => http
//[DOCUMENT_ROOT] => D:/phpstudy_pro/WWW/www.xiaocao1125.com
//[REMOTE_ADDR] => 127.0.0.1
//    [SERVER_PORT] => 80
//    [SERVER_ADDR] => 127.0.0.1
//    [SERVER_NAME] => www.xiaocao1125.com
//[SERVER_SOFTWARE] => Apache/2.4.39 (Win64) OpenSSL/1.1.1b mod_fcgid/2.3.9a mod_log_rotate/1.02
//    [SERVER_SIGNATURE] =>
//    [SystemRoot] => C:\Windows
//[HTTP_ACCEPT_LANGUAGE] => zh-CN,zh;q=0.9,en;q=0.8
//    [HTTP_ACCEPT_ENCODING] => gzip, deflate
//[HTTP_ACCEPT] => text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3
//    [HTTP_USER_AGENT] => Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/76.0.3809.87 Safari/537.36
//    [HTTP_UPGRADE_INSECURE_REQUESTS] => 1
//    [HTTP_CACHE_CONTROL] => max-age=0
//    [HTTP_CONNECTION] => close
//    [HTTP_HOST] => www.xiaocao1125.com
//    [FCGI_ROLE] => RESPONDER
//    [PHP_SELF] => /index.php
//    [REQUEST_TIME_FLOAT] => 1637806794.6746
//    [REQUEST_TIME] => 1637806794